package com.dsw.demo;

import org.springframework.dsw.annotation.Autowired;
import org.springframework.dsw.annotation.Component;

@Component("c")
public class C implements B{

    @Autowired
    private A a;

    @Override
    public void test() {
        System.out.println(a.getName() + a.getValue());
    }
}
